package com.y.fund.web.aavo.com;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(title="文件上传信息")
public class UploadVo {

	@Schema(title = "文件ID")
	private String fileId;

	@Schema(title = "客户端传递的文件标志将返回给客户端，以便进行业务处理")
	private String bizFlag;
	
	@Schema(title = "上传成功后，客户端传递的业务ID将原样返回给客户端")
    public String bizId;
	
	@Schema(title = "上载文件的网络访问地址")
	private String url;
	
	@Schema(title = "存储在资源服务器中的上载文件的相对地址")
	private String relPath;
	
	@Schema(title = "上传文件名称")
	private String fileName;

	@Schema(title = "上传文件大小，单位：字节")
	private Long size;
	
	public UploadVo() {
		super();
	}

	public UploadVo(String relPath, String fileName) {
		super();
		this.relPath = relPath;
		this.fileName = fileName;
	}

	public UploadVo(String relPath, String fileName, String url) {
		super();
		this.relPath = relPath;
		this.fileName = fileName;
		this.url = url;
	}

}
